<?php
class ArticleViewModel extends ViewModel
{
	public $viewFields = array(
    'Article' => array('aid','author','cateid','imageurl','code','title','url','uploadtime','uid','status','is_hot','point','downscore','is_dele','_type'=>'LEFT'),
	'User' => array('username','nickname','_on'=>'Article.uid = User.uid')
    );
}
?>